﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="EchoDataSet" targetNamespace="http://tempuri.org/EchoDataSet.xsd" xmlns:mstns="http://tempuri.org/EchoDataSet.xsd" xmlns="http://tempuri.org/EchoDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Web.config" AppSettingsPropertyName="Domain.Properties.Settings.NetworkMonitorConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="Domain.Properties.Settings.NetworkMonitorConnectionString (Web.config)" ParameterPrefix="@" PropertyReference="AppConfig.System.Configuration.ConfigurationManager.0.ConnectionStrings.Domain.Properties.Settings.NetworkMonitorConnectionString.ConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="EchoResultTableAdapter" GeneratorDataComponentClassName="EchoResultTableAdapter" Name="EchoResult" UserDataComponentName="EchoResultTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Domain.Properties.Settings.NetworkMonitorConnectionString (Web.config)" DbObjectName="NetworkMonitor.dbo.EchoResult" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[EchoResult] ([ip], [status], [rtt], [date], [deviceName]) VALUES (@ip, @status, @rtt, @date, @deviceName)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ip" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ip" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@status" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="status" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@rtt" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="rtt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime2" Direction="Input" ParameterName="@date" Precision="0" ProviderType="DateTime2" Scale="0" Size="0" SourceColumn="date" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@deviceName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="deviceName" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ip, status, rtt, date, deviceName FROM dbo.EchoResult</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ip" DataSetColumn="ip" />
              <Mapping SourceColumn="status" DataSetColumn="status" />
              <Mapping SourceColumn="rtt" DataSetColumn="rtt" />
              <Mapping SourceColumn="date" DataSetColumn="date" />
              <Mapping SourceColumn="deviceName" DataSetColumn="deviceName" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="EchoDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_DataSetName="EchoDataSet" msprop:Generator_UserDSName="EchoDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="EchoResult" msprop:Generator_TableClassName="EchoResultDataTable" msprop:Generator_TableVarName="tableEchoResult" msprop:Generator_TablePropName="EchoResult" msprop:Generator_RowDeletingName="EchoResultRowDeleting" msprop:Generator_RowChangingName="EchoResultRowChanging" msprop:Generator_RowEvHandlerName="EchoResultRowChangeEventHandler" msprop:Generator_RowDeletedName="EchoResultRowDeleted" msprop:Generator_UserTableName="EchoResult" msprop:Generator_RowChangedName="EchoResultRowChanged" msprop:Generator_RowEvArgName="EchoResultRowChangeEvent" msprop:Generator_RowClassName="EchoResultRow">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ip" msprop:Generator_ColumnVarNameInTable="columnip" msprop:Generator_ColumnPropNameInRow="ip" msprop:Generator_ColumnPropNameInTable="ipColumn" msprop:Generator_UserColumnName="ip">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="status" msprop:Generator_ColumnVarNameInTable="columnstatus" msprop:Generator_ColumnPropNameInRow="status" msprop:Generator_ColumnPropNameInTable="statusColumn" msprop:Generator_UserColumnName="status">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="100" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="rtt" msprop:Generator_ColumnVarNameInTable="columnrtt" msprop:Generator_ColumnPropNameInRow="rtt" msprop:Generator_ColumnPropNameInTable="rttColumn" msprop:Generator_UserColumnName="rtt" type="xs:int" />
              <xs:element name="date" msprop:Generator_ColumnVarNameInTable="columndate" msprop:Generator_ColumnPropNameInRow="date" msprop:Generator_ColumnPropNameInTable="dateColumn" msprop:Generator_UserColumnName="date" type="xs:dateTime" />
              <xs:element name="deviceName" msprop:Generator_ColumnVarNameInTable="columndeviceName" msprop:Generator_ColumnPropNameInRow="deviceName" msprop:Generator_ColumnPropNameInTable="deviceNameColumn" msprop:Generator_UserColumnName="deviceName">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="128" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>